package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxxx.server.pojo.Ileave;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * <p>
 * 辅导员离校报备 Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-02
 */
public interface IleaveMapper extends BaseMapper<Ileave> {

    List<Ileave> getIleaveByIlId(@Param("id") Integer id);
    IPage<Ileave> getInleaveByPage(Page<Ileave> page, @Param("ileave") Ileave ileave,
                                   @Param("beginDateScope") String[] beginDateScope);

    List<Ileave> getIleave(Integer id);
}
